package com.winning.pmph.entity;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

/**
 * 标准术语库
 *
 * @author 刘亚飞
 * @date 2021-03-30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "term_standard")
public class TermStandard extends TermCommon {

    private static final long serialVersionUID = 4514808314209993643L;

    /**
     * 术语正名来源
     */
    private JSONArray nameSource;

    /**
     * 正名同义词
     */
    private JSONArray synonym;

    //private String zhengmingSource;

    /**
     * 版本号
     */
    private Integer version;

    @TableField(exist = false)
    private String termBetweenId;
    @TableField(exist = false)
    private String conceptId;
    @TableField(exist = false)
    private String betweenExplain;
    @TableField(exist = false)
    private String nameAndSynonym;
}